package bairui.international.console.web.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;

import com.lianjing.sh.project.config.web.DefaultWebMvcConfiguration;

@Configuration
public class Config_WebMvcConfiguration extends DefaultWebMvcConfiguration {

	@Override
	public void addResourceHandlers(ResourceHandlerRegistry registry) {
		super.addResourceHandlers(registry);
		// 验证ssl证书
		registry
			.setOrder(3)
			.addResourceHandler("/.well-known/**")
			.addResourceLocations("/.well-known/");
//		registry
//			.setOrder(4)
//			.addResourceHandler("/config.json")
//			.addResourceLocations("/config.json");
	}

}
